home *** CD-ROM | disk | FTP | other *** search
- Path: utpapa.ph.utexas.edu!tian
- From: tian@utpapa.ph.utexas.edu (Shiyang Tian)
- Newsgroups: comp.lang.c++
- Subject: what's incomplete type?
- Date: 27 Mar 1996 22:08:18 GMT
- Organization: Physics Department, University of Texas at Austin
- Message-ID: <4jce8i$7ge@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: utpapa.ph.utexas.edu
-
- Hi,
-
- I am using gcc version 2.6.3. When I tried to debug the code using
- gdb (v4.14), I got the <incomplete type> problem>. gdb printed out
- something like:
-
- myClass::do_it(this=<incomplete type>, def=<incomplete type>)
- at myclass.cc:89
-
- When I tried to do "print *this", gdb said:
-
- Attempt to take contents of a non-pointer value.
- or sometimes:
- Internal error: `this' is not an aggregate
-
- Could anyone please tell me exactly exactly it means by "incomplete
- type"? What's the possible reason for this "incomplete type"?
-
- Any information is greatly appreciated.
-
- -- Tian
-